#include <stdio.h>
int main()
{

    int year;
    printf("please enter the year you want to check:");
    scanf("%i",&year);
    if(year%400==0)
    {
        printf("It is a leap year.\n");
    }
    else if ((year%4==0)&&(year%100!=0))
    {
        printf("It is a leap year.\n");
    }
    else
    {
        printf("It is not a leap year.\n");
    }
    return 0;
}